import Foundation
////创建串行队
//let serial = DispatchQueue(label: "serialQueuel")
//
////创建并行队列
//private let concurrentQueue = DispatchQueue(label: "com.raywender.Geo.photoQueue",
//                                            attributes:.concurrent)


class User {
    var name: String
    init(name:String) {
        self.name = name
        print("User \(name) initialized")
    }
    deinit {
        print("User\(name) is deinit")
    }
}
do {
    let user1 = User(name: "John")
}




